package cn.com.yunhe.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wjt
 * @since 2019-01-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "c_car_system")
public class CCarSystem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "ccsid", type = IdType.AUTO)
    private Integer ccsid;

    /**
     * 车系
     */
    @TableField("sname")
    private String sname;

    /**
     * 品牌id
     */
    @TableField("scbid")
    private Integer scbid;

    /**
     * 备用
     */
    @TableField("ccs_by")
    private String ccsBy;

    /**
     * 是否热门
     */
    @TableField("is_hot")
    private Integer isHot;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getCcsid() {
        return ccsid;
    }

    public void setCcsid(Integer ccsid) {
        this.ccsid = ccsid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Integer getScbid() {
        return scbid;
    }

    public void setScbid(Integer scbid) {
        this.scbid = scbid;
    }

    public String getCcsBy() {
        return ccsBy;
    }

    public void setCcsBy(String ccsBy) {
        this.ccsBy = ccsBy;
    }

    public Integer getIsHot() {
        return isHot;
    }

    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }

    @Override
    public String toString() {
        return "CCarSystem{" +
                "ccsid=" + ccsid +
                ", sname='" + sname + '\'' +
                ", scbid=" + scbid +
                ", ccsBy='" + ccsBy + '\'' +
                ", isHot=" + isHot +
                '}';
    }
}
